﻿using System;
using System.Collections.Generic;

namespace Sora.Tools.QueryHoliday.Core
{
    [Serializable]
    public class Calendar
    {
        // public int status;
        public List<Data> data;
    }

    [Serializable]
    public class Data
    {
        public List<HolidayList> holiday;
    }

    [Serializable]
    public class HolidayList
    {
        // public string desc;
        // public string festival;
        public List<Holiday> list;
        // public string name;
        // public string rest;
    }

    [Serializable]
    public class Holiday
    {
        public string date;

        /// <summary>
        /// 1: 放假
        /// 2: 上班
        /// </summary>
        public int status;
    }
}